# 三家餐馆
# 根据为完成练习9-1而编写的类创建三个实例，并对每个实例调用方法describe_restaurant()

class Restaurant:
    def __init__(self, restaurant_name, cuisine_type):
        self.restaurant_name = restaurant_name
        self.cuisine_type = cuisine_type

    def describe_restaurant(self):
        print(f"Restaurant's name is {self.restaurant_name}.")
        print(f"Restaurant's cuisine_type is {self.cuisine_type}.")

    def open_restaurant(self):
        print(f"{self.restaurant_name} is opening.")


restaurant0 = Restaurant('小龙坎', '火锅')
restaurant1 = Restaurant('佳佳鸡', '快餐')
restaurant2 = Restaurant('超意兴', '快餐')

restaurant0.describe_restaurant()
restaurant1.describe_restaurant()
restaurant2.describe_restaurant()
